package com.hongli.blog.service;

import com.hongli.blog.entity.UserDao;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface Userservice {
    List<UserDao> SelectAllUser();

    UserDao SelectUser(String username, String userpassword);

    UserDao SelectUserName(int userid);

    List<UserDao> SelectUserRole();

    void Insertuser(UserDao userDao);
}
